//-----------------------------------------------------------------------
//<copyright file="LuuKho.cs" company="MinhSong">
//Copyright (c) MinhSong. All rights reserved.
//</copyright>
//-----------------------------------------------------------------------
using System;
using System.Runtime.Serialization;

namespace PMS.Entity
{
	public class LuuKho: SanPham
	{
		#region Variable Declarations

		private int m_MaLuuKho;
		private string m_MaThuoc;
		private string m_SoLo;
		private string m_MaKho;
		private int m_TongNhap;
		private int m_TongXuat;
		private int m_TonKho;
		private string m_HanDung;
		private DateTime? m_NgaySX;
		private DateTime? m_HanSuDung;

		#endregion

		#region Constructors

		public LuuKho() {}
		public LuuKho(
			int maLuuKho,
			string maThuoc,
			string soLo,
			string maKho,
			int tongNhap,
			int tongXuat,
			int tonKho,
			string hanDung,
			DateTime? ngaySX,
			DateTime? hanSuDung)
		{
			m_MaLuuKho = maLuuKho;
			m_MaThuoc = maThuoc;
			m_SoLo = soLo;
			m_MaKho = maKho;
			m_TongNhap = tongNhap;
			m_TongXuat = tongXuat;
			m_TonKho = tonKho;
			m_HanDung = hanDung;
			m_NgaySX = ngaySX;
			m_HanSuDung = hanSuDung;
		}

		#endregion

		#region Properties

		/// <summary>
		///
		/// </summary>
		///<value>This type is int</value>
		[DataMember]
		public int MaLuuKho
		{
			get { return m_MaLuuKho; }
			set { m_MaLuuKho = value;
				OnPropertyChanged("MaLuuKho");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string MaThuoc
		{
			get { return m_MaThuoc; }
			set { m_MaThuoc = value;
				OnPropertyChanged("MaThuoc");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string SoLo
		{
			get { return m_SoLo; }
			set { m_SoLo = value;
				OnPropertyChanged("SoLo");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string MaKho
		{
			get { return m_MaKho; }
			set { m_MaKho = value;
				OnPropertyChanged("MaKho");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is int</value>
		[DataMember]
		public int TongNhap
		{
			get { return m_TongNhap; }
			set { m_TongNhap = value;
				OnPropertyChanged("TongNhap");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is int</value>
		[DataMember]
		public int TongXuat
		{
			get { return m_TongXuat; }
			set { m_TongXuat = value;
				OnPropertyChanged("TongXuat");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is int</value>
		[DataMember]
		public int TonKho
		{
			get { return m_TonKho; }
			set { m_TonKho = value;
				OnPropertyChanged("TonKho");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string HanDung
		{
			get { return m_HanDung; }
			set { m_HanDung = value;
				OnPropertyChanged("HanDung");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is DateTime</value>
		[DataMember]
		public DateTime? NgaySX
		{
			get { return m_NgaySX; }
			set { m_NgaySX = value;
				OnPropertyChanged("NgaySX");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is DateTime</value>
		[DataMember]
		public DateTime? HanSuDung
		{
			get { return m_HanSuDung; }
			set { m_HanSuDung = value;
				OnPropertyChanged("HanSuDung");
		}
		}

        public string TenKho { get; set; }
		#endregion
	}
}//End Class
